Text Classification

  • Function:

    nlp.topic(text,language)
    
  • Description: text classification

  • Required parameter:

    • text: text content
  • Return:
    • topic_data: classification result
  • Example

    text = "嘻嘻嘻嘻嘻"
    result = nlp.topic(text=text)
    print(result)
    

    Classify the content of text.

results matching ""

    No results matching ""